package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Role;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IRoleService {

    void save(Role r);

	void update(Role r);

	void delete(long id);

	Role get(long id);

	List<Role> list();
	
	PageResult query(QueryObject qo);


    List<Long> getRoleIdByEmpId(Long empId);

    List<Role> selectByEmpId(Long id);
}